package com.ruoyi.operation.monitor;

import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author Zzneko
 * @Date 2025/7/28 14:43
 * @Descprition
 **/
@RestController
@RequestMapping("/monitor")
@RequiredArgsConstructor
public class MonitorController {

    private final IFileMonitorService fileMonitorService;

    @GetMapping("/execute")
    public void test(@RequestParam(required = false) String groupId){
        fileMonitorService.checkFileExist(groupId);
    }

}
